package com.gxa.admin.repo;

import com.gxa.admin.pojo.Emp;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * @author IKE <hp1041735092@outlook.jp>
 * @date 22/3/2024
 */

@Repository
public interface EmpRepo extends JpaRepository<Emp, Integer>, JpaSpecificationExecutor<Emp> {
    Optional<Emp> findByEmployeeAccount(String employeeAccount);
}
